Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add error handler to telegram message #201

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Hesammousavi
Copy link

Problem
Currently, when a user sends a message to a Telegram channel, handling errors can be challenging, making it difficult to take appropriate action when an exception occurs. This results in reduced flexibility for handling issues in real-time.

Solution
This PR addresses the issue by introducing a mechanism to easily catch exceptions when sending messages via Telegram. It provides a way to define custom error-handling logic through a callback function, enabling developers to manage exceptions more effectively.

By offering this functionality, developers can now seamlessly react to errors, improving overall control and reliability of the notification process.

#197
#155
#166

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant